package com.rf.richfitwheel.workflow.service;

import com.rf.richfitwheel.common.utils.PageUtils;
import com.rf.richfitwheel.workflow.model.WfAuthRuleField;

import java.util.List;
import java.util.Map;

public interface WfAuthRuleFieldService {

    void updateWfAuthRuleField(WfAuthRuleField wfAuthRuleField);

    void addWfAuthRuleField(WfAuthRuleField wfAuthRuleField);

    WfAuthRuleField getById(String id);

    void deleteByIds(List<String> asList);

    void deleteById(String id);

    PageUtils queryPage(Map<String, Object> params);

    List<WfAuthRuleField> getListByFolderCode(String folderCode);

    WfAuthRuleField findByFolderCodeAndRuleField(String folderCode, String ruleField);

    boolean checkRuleField(String folderCode, String ruleField);
}
